package com.itheima.server.client;

import com.itheima.domain.db.UserFreeze;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 阿鹏
 * @date 2021/3/1 14:14
 */
@FeignClient("tanhua-manager")
public interface UserFreezeClient {

    @GetMapping("/manage/findUserFreezeByUserId")
    UserFreeze findByUserId(@RequestParam(required = false) Long userId);
}
